package com.wooophone.webapp.mpyeah.util;

import org.springframework.web.util.HtmlUtils;

public class Main {
	public static void main(String[] args) {
		String html="<javascript>alert(1);</javascript>";
		
		System.out.println(HtmlUtils.htmlEscape(html));
		System.out.println(HtmlUtils.htmlEscapeDecimal(html));
		System.out.println(HtmlUtils.htmlEscapeHex(html));
		System.out.println(HtmlUtils.htmlUnescape(html));
	}	
}
